package com.ys;

import org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration;
import org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration;
import org.apache.shiro.spring.config.web.autoconfigure.ShiroWebAutoConfiguration;
import org.apache.shiro.spring.config.web.autoconfigure.ShiroWebFilterConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * Hello world!
 *
 */
@SpringBootApplication(
	exclude = {
			ShiroAnnotationProcessorAutoConfiguration.class,
			ShiroAutoConfiguration.class,
//			ShiroBeanAutoConfiguration.class
//			ShiroBeanConfiguration.class,
//			ShiroConfiguration.class,
			ShiroWebAutoConfiguration.class,
			ShiroWebFilterConfiguration.class
	}
)
@MapperScan(basePackages = "com.ys.mapper")
@ComponentScan(basePackages={"com.ys"})
public class App {
	public static void main(String[] args) {
		System.out.println("Hello World!");
		SpringApplication.run(App.class, args);
	}
}
